package com.education.wisdom.service;


import com.education.wisdom.pojo.Comments;
import com.education.wisdom.vo.CommentsVo;

import java.util.List;
import java.util.Map;

/**
 * 课后评价 服务层
 *
 * @author ruoyi
 * @date 2018-11-09
 */
public interface ICommentsService {

    /**
     * 查询评论信息
     *
     * @param map
     * @return
     */
    List<CommentsVo> selectCommentsAll(Map<String, Object> map);

    List selectCommentsAllByteacher(Map<String, Object> map);

    /**
     * 新增课后评价
     *
     * @param comments 课后评价信息
     * @return 结果
     */
    int insertComments(Comments comments);

    List<Comments> selectByCatalogId(Integer catalogId);

    List<Comments> selectByType(Map<String, Object> map);

    List<Comments> selectByLabeId(Map<String, Object> map);

}
